Play video while downloading into local disk [AIR]

Posted by vincentma on Stack Overflow See other posts from Stack Overflow or by vincentma
Published on 2010-04-18T16:26:16Z Indexed on 2010/04/18 16:33 UTC
Read the original article Hit count: 325

Filed under:
|

Hello guys,

Using NetStream, I can create progressive video player. But can I save the downloaded chunk to my local disk in AIR??

My first idea is that, download part of file into local disk, let NetStream pointing to that file, and then appends the chunks to that file (FileMode.APPEND) periodically. But it does not work and seems that NetStream would 'lock' the file preventing write operation.

Any ideas?

© Stack Overflow or respective owner

Related posts about air

Related posts about video